package org.cdivtc.exam.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.cdivtc.exam.entity.Admins;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 系统管理员信息表 Mapper 接口
 * </p>
 *
 * @author xiaogoudashuai
 * @since 2025-03-27
 */
@Mapper
public interface AdminsMapper extends BaseMapper<Admins> {

    @Select("SELECT * FROM admins WHERE account = #{account}")
    Admins selectByAccount(@Param("account") String account);
}
